package com.hys.ultrasound.data.entity;

import com.hys.ultrasound.data.http.HttpConfig;

public class AppVersion {


    /**
     * versionId : 1
     * versionCode : 1.0.1
     * versionName : 28
     * upgradeContent : xxx
     * upgradePattern : 1
     * downloadUrl : C%3a%5cUsers%5cAdministrator%5cDesktop%5cHisApp.apk
     * publishTime : 2019-01-01 21:00:00
     * isNewest : 1
     */

    private String versionId;
    private String versionCode;
    private String versionName;
    private String upgradeContent;
    private int upgradePattern;
    private String downloadUrl;
    private String publishTime;
    private int isNewest;

    public String getVersionId() {
        return versionId;
    }

    public void setVersionId(String versionId) {
        this.versionId = versionId;
    }

    public String getVersionCode() {
        return versionCode;
    }

    public void setVersionCode(String versionCode) {
        this.versionCode = versionCode;
    }

    public String getVersionName() {
        return versionName;
    }

    public void setVersionName(String versionName) {
        this.versionName = versionName;
    }

    public String getUpgradeContent() {
        return upgradeContent;
    }

    public void setUpgradeContent(String upgradeContent) {
        this.upgradeContent = upgradeContent;
    }

    public int getUpgradePattern() {
        return upgradePattern;
    }

    public void setUpgradePattern(int upgradePattern) {
        this.upgradePattern = upgradePattern;
    }

    public String getDownloadUrl() {
        return HttpConfig.DOWNFILEPATH + downloadUrl;
    }

    public void setDownloadUrl(String downloadUrl) {
        this.downloadUrl = downloadUrl;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public int getIsNewest() {
        return isNewest;
    }

    public void setIsNewest(int isNewest) {
        this.isNewest = isNewest;
    }
}
